package com.zsk.shop.model.params;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author ljh
 * @create 2021年12月13日 10:23
 * @ApiImplicitParams({@ApiImplicitParam(name = "bankCardId", value = "银行卡卡号"), @ApiImplicitParam(name = "bankName", value = "银行名称"),
 * @ApiImplicitParam(name = "phone", value = "预留手机号")})
 */
@Data
@ApiModel("银行卡账户生成提交")
public class AddBankCardParams {

    @NotNull(message = "请填写银行名称")
    @ApiModelProperty("银行名称")
    private String bankName;

    @NotNull(message = "请填写支行名称")
    @ApiModelProperty("支行名称")
    private String subName;

    @NotNull(message = "请填写银行卡卡号")
    @ApiModelProperty("银行卡卡号")
    private String bankCardId;

    @NotNull(message = "请填写银行编号")
    @ApiModelProperty("银行编号")
    private String bankNo;

    @NotNull(message = "请填写手机号")
    @ApiModelProperty("预留手机号")
    private String phone;
}

